using Admin2505.Application.Common;
using Admin2505.Application.Dto;

namespace Admin2505.Application.Services;

public interface IPermissionService
{
    Task<ApiResult> CreatePermissionAsync(CraetePermissionDto dto);

    
    Task<ApiResult> UpdatePermissionAsync(Guid permissionId, CraetePermissionDto dto);
    
    Task<ApiResult> DeletePermissionAsync(Guid permissionId);
    
    Task<ApiResult> EnablePermissionAsync(Guid permissionId);
    
    Task<ApiResult> DisblePermissionAsync(Guid permissionId);
}